from contextlib import contextmanager


@contextmanager
def wrap_book_name():
    print('《', end='')
    yield
    print('》', end='')


with wrap_book_name():
    print('活着', end='')
